package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科室护士对象 yf_dept_nurse
 * 
 * @author XiaoYi...
 * @date 2020-07-06
 * f03b4c41-3dd1-44be-82b7-86345334401d
 */
public class YfDeptNurse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 护士id */
    private String nurseId;

    /** 护士姓名 */
    @Excel(name = "护士姓名")
    private String nurseName;

    /** 科室id */
    @Excel(name = "科室id")
    private Long deptId;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setNurseId(String nurseId)
    {
        this.nurseId = nurseId;
    }

    public String getNurseId()
    {
        return nurseId;
    }
    public void setNurseName(String nurseName) 
    {
        this.nurseName = nurseName;
    }

    public String getNurseName() 
    {
        return nurseName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nurseId", getNurseId())
            .append("nurseName", getNurseName())
            .append("deptId", getDeptId())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
